package office.action.hr.form;

import java.util.Date;

import office.bo.hr.impl.MatterSpecify;
import platform.common.bo.IIdentifiableObj;

public class MatterSpecifyForm {
	private String  id;
	private String  title;       //标题  
	private String  content;     //內容
	private String  createMan;   //创建人
	private Date    createDate;   //创建日期
	private String  handleUser;   //处理人
	private String  handleState; //處理狀態
	private String  remark;      //
	
	public IIdentifiableObj copyPropertiesToBO(IIdentifiableObj newObj) {
		MatterSpecify bo = (MatterSpecify)newObj;
		bo.setId(this.id);
		bo.setTitle(title);
		bo.setContent(content);
		bo.setCreateMan(createMan);
		bo.setCreateDate(createDate);
		bo.setHandleUser(handleUser);
		bo.setHandleState(handleState);
		bo.setRemark(remark);
		return bo;
	}
	
	public void copyPropertiesFromBO(IIdentifiableObj baseBO) {
		MatterSpecify bo = (MatterSpecify)baseBO;
		this.id = bo.getId().toString();
		this.title = bo.getTitle();
		this.content = bo.getContent();
		this.createMan = bo.getCreateMan();
		this.createDate = bo.getCreateDate();
		this.handleUser = bo.getHandleUser();
		this.handleState = bo.getHandleState();
		this.remark = bo.getRemark();
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getCreateMan() {
		return createMan;
	}

	public void setCreateMan(String createMan) {
		this.createMan = createMan;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public String getHandleUser() {
		return handleUser;
	}

	public void setHandleUser(String handleUser) {
		this.handleUser = handleUser;
	}

	public String getHandleState() {
		return handleState;
	}

	public void setHandleState(String handleState) {
		this.handleState = handleState;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	
}
